package com.swanclouds.redfish.systems;

import com.swanclouds.api.Apis;
import com.swanclouds.api.systems.SystemResourceService;
import com.swanclouds.api.systems.SystemService;
import com.swanclouds.core.transport.ClientConstants;
import com.swanclouds.model.common.redfish.CollectionResource;
import com.swanclouds.redfish.common.redfish.CollectionResourceModel;
import com.swanclouds.redfish.internal.BaseSystemService;

public class SystemResourceServiceImpl extends BaseSystemService implements SystemResourceService {

    @Override
    public CollectionResource get() {
        return get(CollectionResourceModel.class, uri(ClientConstants.PATH_SYSTEMS)).execute();
    }

    @Override
    public SystemService Detail() {
        return Apis.get(SystemService.class);
    }

}
